package ui;

import java.awt.Button;

import ui.listeners.CheckerBoardNewGameButtonClickListener;

public class CheckerBoardNewGameButton extends Button {
	/**
	 * Generated serial ID.
	 */
	private static final long serialVersionUID = -7817961975396099585L;

	/**
	 * Builds a New Game button with no label.
	 */
	public CheckerBoardNewGameButton() {
		this("");
	}

	/**
	 * Builds a New Game button with a label.
	 * 
	 * @param label
	 *            A label to add to this New Game button.
	 */
	public CheckerBoardNewGameButton(String label) {
		super(label);
		addActionListener(new CheckerBoardNewGameButtonClickListener());
	}
}
